var setting = require("./setting");
var mongoose = require('mongoose');
mongoose.connect("mongodb://"+setting.ip+"/"+setting.db);
var db = mongoose.connection;
module.exports={
   "dbCon":db,
   "mongoose":mongoose
};

